using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Skolan
{
    public partial class Form1 : Form
    {
        Checker checker = Checker.GetCheckerObject();
        public Form1()
        {
            InitializeComponent();
        }


        private void buttonApply_Click(object sender, EventArgs e)
        {
            checker.Timeout = (int)this.numericUpDownTime.Value;
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            this.numericUpDownTime.Value = checker.Timeout;
        }
    }
}